/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package node2;

import node1.AbstractTask;
import org.eclipse.emf.common.util.EList;

import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Task</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link node2.Task#getCriticalSections <em>Critical Sections</em>}</li>
 *   <li>{@link node2.Task#getBlocking <em>Blocking</em>}</li>
 *   <li>{@link node2.Task#getPriority <em>Priority</em>}</li>
 * </ul>
 * </p>
 *
 * @see node2.Node2Package#getTask()
 * @model
 * @generated
 */
public interface Task extends AbstractTask {
	/**
	 * Returns the value of the '<em><b>Critical Sections</b></em>' containment reference list.
	 * The list contents are of type {@link node2.CriticalSection}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Critical Sections</em>' containment reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Critical Sections</em>' containment reference list.
	 * @see node2.Node2Package#getTask_CriticalSections()
	 * @model containment="true"
	 * @generated
	 */
	EList<CriticalSection> getCriticalSections();

	/**
	 * Returns the value of the '<em><b>Blocking</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Blocking</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Blocking</em>' attribute.
	 * @see #setBlocking(int)
	 * @see node2.Node2Package#getTask_Blocking()
	 * @model required="true"
	 * @generated
	 */
	int getBlocking();

	/**
	 * Sets the value of the '{@link node2.Task#getBlocking <em>Blocking</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Blocking</em>' attribute.
	 * @see #getBlocking()
	 * @generated
	 */
	void setBlocking(int value);

	/**
	 * Returns the value of the '<em><b>Priority</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Priority</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Priority</em>' attribute.
	 * @see #setPriority(int)
	 * @see node2.Node2Package#getTask_Priority()
	 * @model required="true"
	 * @generated
	 */
	int getPriority();

	/**
	 * Sets the value of the '{@link node2.Task#getPriority <em>Priority</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Priority</em>' attribute.
	 * @see #getPriority()
	 * @generated
	 */
	void setPriority(int value);

} // Task
